import request from '@/request'
type loginType = {
  token: string
}
export const login = (data: any) => {
  return request.get<any>('/login/auth-code', {params :data})
}
export const loginOut = (data?: any) => {
  return request.get<any>('/login/logout', {params :data})
}
